home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntkb.zip / NTKB.EXE / Q98 / 7 / 30.TXT < prev    next >
Text File  |  1994-02-02  |  18KB  |  494 lines

  1. DOCUMENT:Q98730  31-JAN-1994  [W_NT]
  2. TITLE   :FAQ: Technical Information
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. --------------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12.  - Microsoft Windows NT Advanced Server version 3.1
  13. --------------------------------------------------------------------------
  14.  
  15. SUMMARY
  16. =======
  17.  
  18. The following information is also included in the Windows NT and Windows NT
  19. Advanced Server Frequently Asked Questions (FAQ) document that is available
  20. on CompuServe in the WINNT forum. This article contains the Technical
  21. Information section, including the following topics:
  22.  
  23.  - Couldn't Find NTLDR
  24.  - How the LibPath Environment Variable Works
  25.  - File Compression Programs and Drivers (Doublespace)
  26.  - Troubleshooting 16-bit Windows Applications Under Windows NT
  27.  - Using fault tolerance mirroring in Windows NT
  28.  - OS/2 Subsystem Takes Priority
  29.  - ANSI.SYS Support
  30.  - Extended and Expanded Memory for MS-DOS Applications
  31.  - Converting File Systems without Reformatting
  32.  - Removal of NTFS
  33.  - CHKDSK /F on an NTFS Drive
  34.  - MS-DOS Device Drivers in CONFIG.SYS
  35.  - Replacing Boot Sector Without Reinstalling
  36.  - Microsoft Visual C++ (MMD.386 virtual device driver not loaded)
  37.  - Microsoft Visual C++ (XXXX.EXE is not a valid Windows NT app.)
  38.  - What is Win32s?
  39.  - Recreating a Post Office
  40.  
  41. MORE INFORMATION
  42. ================
  43.  
  44. Couldn't Find NTLDR
  45. -------------------
  46.  
  47. Question:
  48.  
  49. When I select Windows NT from Boot loader it comes up with the following
  50. error:
  51.  
  52.    BOOT: Couldn't find NTLDR
  53.    Please insert another disk
  54.  
  55. Answer:
  56.  
  57. In order for Boot loader to start NTLDR must be in the root of the C Drive.
  58. If this file is missing you will get this error message. To fix this simply
  59. copy the NTLDR from the CD or the Floppies to the root of the C drive. If
  60. you are copying from the CD ROM, you will find NTLDR in the I386 directory
  61. and can copy it by going to the CD ROM Drive and entering:
  62.  
  63.    copy \i386\ntldr c:\
  64.  
  65. Or, if you have a floppy installation set, you can find NTLDR as NTLDR.$ on
  66. disk 2. To expand this file and copy it to the correct location, type the
  67. following:
  68.  
  69.    expand ntldr.$ c:\ntldr
  70.  
  71. How the LibPath Environment Variable Works
  72. ------------------------------------------
  73.  
  74. Question:
  75.  
  76. I used to use the LIBPATH environment variable to search for DLL files. The
  77. environment variable is no longer available under Windows NT. What do I use
  78. as a replacement?
  79.  
  80. Answer:
  81.  
  82. There is no Win32 or NT LIBPATH environment variable or Registry entry
  83. under Windows NT. DLLs are found just like executable files (.EXE files) on
  84. the path.
  85.  
  86. File Compression Programs and Drivers (Doublespace)
  87. ---------------------------------------------------
  88.  
  89. Question:
  90.  
  91. Is Windows NT compatible with my hard disk compression driver? Does Windows
  92. NT support MS-DOS 6.0 Doublespace?
  93.  
  94. Answer:
  95.  
  96. You cannot place Windows NT on a partition with Stacker, DoubleSpace
  97. (Microsoft MS-DOS 6.0) or any other compression or partitioning software.
  98. In general, Windows NT will not be able to access data on a disk that
  99. requires a driver in the CONFIG.SYS file for MS-DOS unless a similar driver
  100. has been installed for Windows NT. Windows NT supports the MS- DOS FAT file
  101. system and applications. It does not support Doublespace, the integrated
  102. data compression technology available with MS-DOS 6.0. We are looking to
  103. make this technology available in a future release of Windows NT.
  104.  
  105. Troubleshooting 16-bit Windows Applications Under Windows NT
  106. ------------------------------------------------------------
  107.  
  108. Question:
  109.  
  110. My 16-bit Windows application is not working under Windows NT. What should
  111. I do?
  112.  
  113. Answer:
  114.  
  115. Many different 16-bit applications designed to run under Windows 3.1 have
  116. been tested with Windows NT. When you are troubleshooting a 16- bit
  117. application that is not working properly under Windows, the following items
  118. should be taken into consideration:
  119.  
  120.  - If possible, verify that the application works correctly under Windows
  121.    3.0 and 3.1.
  122.  
  123.  - If the application requires a VxD (virtual device driver), it will not
  124.    work properly under Windows NT.
  125.  
  126.  - If the application requires Windows 3.0 or 3.1 to be running in 386
  127.    enhanced mode, the application will not function properly on either the
  128.    DEC Alpha or MIPS versions of Windows NT at this time because these
  129.    platforms currently emulate only the Intel 80286 architecture.
  130.  
  131.  - Check Print Manager to see that a default printer has been selected.
  132.    Some applications (such as Microsoft Word version 2.0 for Windows) will
  133.    not function properly under Windows NT unless a default printer has been
  134.    selected.
  135.  
  136.  - Make sure that any dynamic link libraries (DLLs) used by the application
  137.    are both current and locatable by the application (either in the system
  138.    path or explicitly defined within the application or working directory.)
  139.  
  140. Try other standard troubleshooting steps such as the following:
  141.  
  142.  - Remove unnecessary device drivers
  143.  
  144.  - Remove unnecessary hardware
  145.  
  146.  - Boot with clean AUTOEXEC.NT and CONFIG.NT files
  147.  
  148.  - Use standard device drivers in Windows NT (Standard VGA, and so forth)
  149.  
  150. If normal troubleshooting procedures do not help, file a bug report using
  151. the BUGREP.TXT template from Library 3 (Problem Reports) of the WINNT forum
  152. and upload the completed form to back to the same library. The report will
  153. be passed on to Windows NT development so they can look into and attempt to
  154. correct the problem.
  155.  
  156. Using fault tolerance mirroring in Windows NT
  157. ---------------------------------------------
  158.  
  159. Question:
  160.  
  161. Why am I unable to choose the Establish Mirror or Stripe Set With Parity
  162. options under Disk Administrator in Windows NT?
  163.  
  164. Answer:
  165.  
  166. Only Windows NT Advanced Server supports the hard disk fault tolerance
  167. options of mirroring (which includes duplexing) and striping with parity.
  168.  
  169. OS/2 Subsystem Takes Priority
  170. -----------------------------
  171.  
  172. Question:
  173.  
  174. Why is that whenever I run my bound application it runs under the OS/2
  175. subsystem and not the MS-DOS subsystem?
  176.  
  177. Answer:
  178.  
  179. Bound applications are designed and built so that they can be run under
  180. either OS/2 or MS-DOS. The OS2 SubSystem is not available on MIPS,
  181. therefore, bound applications will run as MS-DOS applications on MIPS.
  182.  
  183. When a bound application is run under Windows NT on an 80x86 CPU, it
  184. automatically runs under the OS2 SubSystem if available.
  185.  
  186. The OS2 SubSystem is available by default on an 80x86. In order to force
  187. bound applications to run as an MS-DOS application, use the FORCEDOS
  188. command. It can be found in your \%SystemRoot%\system32 directory.
  189.  
  190. ANSI.SYS Support
  191. ----------------
  192.  
  193. Question:
  194.  
  195. Does Windows NT support the use of ANSI.SYS?
  196.  
  197. Answer:
  198.  
  199. Windows NT does support the use of ANSI.SYS for backward compatibility with
  200. MS-DOS-based applications which require it. However, when you start a
  201. Command Prompt, you are not running ANSI.SYS, so escape sequences do not
  202. function.
  203.  
  204. 1. Add the following line to your CONFIG.NT file in your
  205.    %SYSTEMROOT%\SYSTEM32 directory:
  206.  
  207.       device=%systemroot%\system32\ansi.sys
  208.  
  209. 2. Start a command prompt.
  210.  
  211. 3. Run COMMAND.COM from MS-DOS 5.0. Note: This must be the version that
  212.    comes with MS-DOS 5.0. If you just type COMMAND, the system starts
  213.    another CMD.EXE from Windows NT. Check the version with the VER command.
  214.    It should be "MS-DOS 5.00," not "Windows NT Version 3.10." Also,
  215.    remember to include extra environment space if you are going to use the
  216.    PROMPT variable.
  217.  
  218. You should now be able to send ANSI escape sequences. To test this, try the
  219. following example:
  220.  
  221.    prompt $e[J
  222.  
  223. This should clear the screen.
  224.  
  225. NOTE: When you type EXIT at the command prompt, only COMMAND.COM is exited;
  226. you need to type EXIT a second time to close the Windows NT command prompt.
  227.  
  228. Extended and Expanded Memory for MS-DOS Applications
  229. ----------------------------------------------------
  230.  
  231. Question:
  232.  
  233. How do I give my MS-DOS applications extended or expanded memory?
  234.  
  235. Answer:
  236.  
  237. As with Windows 3.1, a program information file (PIF) can be created for
  238. applications which need resources beyond those supplied to MS-DOS
  239. applications by default. See Chapter 11 (Other Application Environments) in
  240. the Windows NT System Guide for more information about using PIF files.
  241.  
  242. Converting File Systems without Reformatting
  243. --------------------------------------------
  244.  
  245. Question:
  246.  
  247. Can I convert my current file system to NTFS without reformatting the
  248. drive?
  249.  
  250. Answer:
  251.  
  252. Yes. The command-line utility, CONVERT.EXE, can be used to convert existing
  253. HPFS or FAT drives to the NTFS format. Note that no other conversions are
  254. supported at this time. It is only possible to convert FAT or HPFS to NTFS.
  255. To convert from NTFS back to FAT or HPFS, it is necessary to backup your
  256. drive, reformat it, and then restore the files back to it.
  257.  
  258. For example: To convert drive "D:" from FAT to NTFS format, type the
  259. following command:
  260.  
  261.    convert d: /fs:ntfs
  262.  
  263. Removal of NTFS
  264. ---------------
  265.  
  266. Question:
  267.  
  268. How do I remove my NTFS partition from my C Drive?
  269.  
  270. Answer:
  271.  
  272. The CONVERT utility cannot change an NTFS-formatted drive to a drive
  273. formatted by another file system. It is necessary to reformat an NTFS drive
  274. in order to change the file system. If Windows NT is not installed on the
  275. NTFS partition you are trying to remove, use the FORMAT command from a
  276. Windows NT command prompt to change the file system, or use the Disk
  277. Administrator to remove the partition directly.
  278.  
  279. Windows NT does not permit you to format the drive that it is installed on.
  280. To reformat a drive containing Windows NT, do the following:
  281.  
  282. 1. Start Windows NT Setup.
  283.  
  284. 2. Choose Custom Installation.
  285.  
  286. 3. If Setup suggests a path in which to install Windows NT, press N to
  287.    select a new location.
  288.  
  289. 4. When Setup asks you to select the partition where you would like to
  290.    install Windows NT, choose the NTFS drive you want to reformat and press
  291.    P to delete the partition.
  292.  
  293. 5. Either continue from here using the setup program to recreate and format
  294.    the partition or exit Setup and use the FDISK and FORMAT commands to
  295.    complete the process.
  296.  
  297. CHKDSK /F on an NTFS Drive
  298. --------------------------
  299.  
  300. Question:
  301.  
  302. Why won't Windows NT let me run CHKDSK /F on NTFS formatted drives?
  303.  
  304. Answer:
  305.  
  306. There are two reasons for this:
  307.  
  308. 1. If you see the message
  309.  
  310.       Cannot lock the current drive.
  311.  
  312.    make another drive current. For example, if you are trying to run CHKDSK
  313.    /F on the D drive, make C current by typing "C:" and ENTER before
  314.    issuing the CHKDSK command.
  315.  
  316. 2. If you see the message
  317.  
  318.       Cannot lock the drive for single user.
  319.  
  320.    it indicates that there are open files on the drive you are attempting
  321.    to check. If Windows NT is not installed to the drive in question,
  322.    simply be sure that all applications that might have files open on the
  323.    drive are closed. If you have a page file on the drive, that too must be
  324.    moved by using the Virtual Memory application in Control Panel. You
  325.    should then be able to run CHKDSK with the /F option.
  326.  
  327.    If Windows NT is installed to the NTFS drive for which you are trying to
  328.    run CHKDSK /F, then it will not be possible to fix errors without
  329.    restarting Windows NT.
  330.  
  331.    When CHKDSK /F is unable to execute, it prompts the user with a message
  332.    similar to the following:
  333.  
  334.       Chkdsk cannot run because the volume is in use by another process.
  335.       Would you like to schedule this volume to be checked the next time
  336.       the system reboots? (Y/N)
  337.  
  338.    If you choose Y, CHKDSK /F is executed the next time Windows NT is
  339.    started.
  340.  
  341. MS-DOS Device Drivers in CONFIG.SYS
  342. -----------------------------------
  343.  
  344. Question:
  345.  
  346. How do I load device drivers in CONFIG.SYS for my MS-DOS applications? Are
  347. there drivers that I will not be able to load?
  348.  
  349. Answer:
  350.  
  351. You can only use device drivers in CONFIG.SYS that touch parts of the
  352. system that are emulated by the Windows NT VDM (Virtual DOS Machine) code.
  353. This is why ANSI.SYS works (because the display is an emulated device) but
  354. ASPI drivers don't (since the hardware is not emulated.)
  355.  
  356. If you have some software that requires a device driver, it is likely that
  357. the vendors who produced it need to write a VDD (Virtual Device Driver) for
  358. that driver, and possibly a Windows NT Device Driver to support that VDD.
  359. The information required to write these drivers can be found in the Windows
  360. NT DDK.
  361.  
  362. Replacing Boot Sector Without Reinstalling
  363. ------------------------------------------
  364.  
  365. Question:
  366.  
  367. How do I replace my Windows NT boot sector without reinstalling Windows NT?
  368.  
  369. Answer:
  370.  
  371. 1. Boot from the floppy setup disk you used to install Windows NT.
  372.  
  373. 2. Choose the option to use the emergency repair disk that was created
  374.    during installation.
  375.  
  376. 3. Be sure the option to "verify boot files on your C: drive" is selected.
  377.  
  378. 4. Proceed with the repair operation.
  379.  
  380. If the Emergency Repair disk is not available, use the MKSECT.ZIP utility
  381. which is available in Library 1 of the WINNT forum on CompuServe. If
  382. neither of the above are options for you, reinstall Windows NT.
  383.  
  384. Microsoft Visual C++ (MMD.386 virtual device driver not loaded)
  385. ---------------------------------------------------------------
  386.  
  387. Question:
  388.  
  389. Why do I get the following error message when I run the Microsoft Visual
  390. C++ compiler Windows NT?
  391.  
  392.    MMD.386 virtual device driver not loaded.
  393.  
  394. Answer:
  395.  
  396. Visual C++ requires a driver in the SYSTEM.INI file which is specific to
  397. Windows 3.1. You can not use the compiler in this fashion under Windows NT.
  398. Please refer to the MSLANG forum for more information.
  399.  
  400. Microsoft Visual C++ (XXXX.EXE is not a valid Windows NT application)
  401. ---------------------------------------------------------------------
  402.  
  403. Question:
  404.  
  405. Why do I get the following error message when I run a Microsoft Visual C++
  406. utility under Windows NT?
  407.  
  408.    XXX.EXE is not a valid Windows NT application.
  409.  
  410. Answer:
  411.  
  412. Visual C++ applications require that you fix the executables in order for
  413. them to run correctly under Windows NT. You can get the fix from Library l
  414. of the MSLNG32 forum. The file is called B2FIX.EXE. It is a self-extracting
  415. archive and contains instructions on how to use this utility to fix the
  416. problem. This program is a NOT supported by Microsoft, but only provided so
  417. that MSVC will operate properly under Windows NT.
  418.  
  419. What is Win32s?
  420. ---------------
  421.  
  422. Question:
  423.  
  424. I know what Win32 is but what is Win32s?
  425.  
  426. Answer:
  427.  
  428. Win32s is an operating system extension that allows Win32 applications for
  429. Windows NT to run on Windows 3.1 and Windows for Workgroups. This is done
  430. by adding some extra DLLs to Win31 and keeping the differences between
  431. Windows NT and Win31 in mind while writing your Win32s code (such as
  432. preemptive multitasking, memory management, and security). There is a
  433. booklet in the Win32 SDK that covers Win32s.
  434.  
  435. Recreating a Postoffice
  436. -----------------------
  437.  
  438. Question:
  439.  
  440. I deleted the WGPO subdirectory. I assumed that I would be able to recreate
  441. it. It turned out to not be as easy as expected. Is there any way of
  442. recreating my mail system short of reloading Windows NT?
  443.  
  444. Answer:
  445.  
  446. Yes, by editing the Registry database. CAUTION: Before editing the Registry
  447. database, you might want to back up (export) any mail you want to retain
  448. before proceeding with the following:
  449.  
  450. 1. Using File Manager, delete the postoffice directory and all
  451.    subdirectories in it. The default name of the Windows NT  postoffice
  452.    directory is WGPO and it can be located in the root  directory or a
  453.    subdirectory of any available partition on the hard  disk drive.
  454.  
  455. WARNING: Using Registry Editor incorrectly can cause serious, system-wide
  456. problems that may require you to reinstall Windows NT to correct them.
  457. Microsoft cannot guarantee that any problems resulting from the use of
  458. Registry Editor can be solved. Use this tool at your own risk.
  459.  
  460. 2. Start Registry Editor (REGEDT32.EXE) and select the following subkey to
  461.    highlight it:
  462.  
  463.       HKEY_CURRENT_USER\Software\Microsoft\Mail\Custom Commands
  464.  
  465.       HKEY_CURRENT_USER\Software\Microsoft\Mail\Custom Messages
  466.  
  467.       HKEY_CURRENT_USER\Software\Microsoft\Mail\Microsoft Mail
  468.  
  469. 3. Press the DELETE key on your keyboard, or choose Delete from the Edit
  470.    menu, and then press ENTER to confirm the action. One subkey at a time.
  471.  
  472. The next time you start MS Mail, you will have the option of connecting to
  473. an existing postoffice, or creating a new postoffice, and then continuing
  474. with the rest of the initial MS Mail setup.
  475.  
  476. Additional reference words: 3.10 FastTips NTFAQ Q&A post office
  477. KBCategory:
  478. KBSubCategory: Q&AFASTTIPS
  479.  
  480. =============================================================================
  481.  
  482. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  483. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  484. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  485. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  486. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  487. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  488. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  489. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  490. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  491. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  492. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  493.  
  494. Copyright Microsoft Corporation 1994.